GXCleanupStartJob
QuickDraw GX sends theGXCleanupStartJob
message if a message handler fails during the processing of aGXStartJob
message. You can override theGXCleanupStartJob
message to deallocate any storage you allocated in your override of theGXStartJob
message. Your override code forGXCleanupStartJob
has no parameters and returns no value. For example, you could declare your override for theGXCleanupStartJob
message as follows:
void MyCleanupStartJob (void);DESCRIPTION
QuickDraw GX sends theGXCleanupStartJob
message after a message handler calls theGXCleanupStartJob
function.You need to override this message to deallocate any storage that you allocated in your override of the
GXStartJob
message.The default implementation of this message disposes of memory that was allocated for the printing job.
SPECIAL CONSIDERATIONS
You never send theGXCleanupStartJob
message yourself; however, you can call theGXCleanupStartJob
function, which then sends this message.You must forward the
GXCleanupStartJob
message to other message handlers.SEE ALSO
TheGXStartJob
message is described in the previous section.The
GXCleanupStartJob
function is described on page 5-36 in the chapter "Printing Functions for Message Overrides."
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help